package com.itheima.reggie.service;

import com.itheima.reggie.domain.Address;

import java.util.List;

public interface AddressService {

    //查询地址列表
    List<Address> findList();

    //保存
    void save(Address address);

    //设置默认地址
    void setDefault(Long id);

    //查询默认地址
    Address findDefault();
}
